package com.sec.domain.mysql;

import javax.persistence.*;

/**
 * 资源
 * Created by Administrator on 2017/11/2.
 */
@Entity
@Table(name = "RESOURCE")
public class Resource {
    @Id
    @Column(name = "resource_id")
    private long resource_id;
    @Basic
    @Column(name = "resource_name")
    private String resource_name;
    @Basic
    @Column(name = "url")
    private String url;

    public long getResource_id() {
        return resource_id;
    }

    public void setResource_id(long resource_id) {
        this.resource_id = resource_id;
    }

    public String getResource_name() {
        return resource_name;
    }

    public void setResource_name(String resource_name) {
        this.resource_name = resource_name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
